<div id="tdiv">
    <h1>Registro de Chaves</h1>
    <form method="POST" action="">
        <label>Usuário:</label>
        <input class="campo" style="width:210px" readonly="readonly" type="text" value="<?php echo $usuario['nome_usuario']; ?>" name="nome_usuario"/>
        <label>Laboratório:</label>
        <select class="campo" name="laboratorio_id">
            <?php
            foreach ($laboratorios as $laboratorio){
                echo "<option value='{$laboratorio->id_laboratorio}'>{$laboratorio->nome_laboratorio}</option>";
            }
            ?>
        </select>
        <label>Data:</label>
        <input class="campo" style="width:105px" type="text"  readonly="readonly" value="<?php echo date("d/m/Y"); ?>" name="dt_inicial_controle"/>
        <label>Hora:</label>
        <input class="campo" style="width:70px""  readonly="readonly" type="text" value="<?php echo date("H:i:s"); ?>" name="hora_inicial_controle"/>
        <label>Obs: (opcional)</label>
        <textarea cols="23" rows="5" class="campo" name="observacao_controle"></textarea>
        
        <input style="margin-left:37%; margin-bottom:20px;" type="submit" name="save" value="Salvar"/>
        <input type="button" value="Voltar" onclick="javascript:location='index.php?modulo=usuarios&page=visualizar'"/>   
    </form>
</div>
